package com.ceiling.dao;


import com.ceiling.bean.promotion.Coup;
import com.ceiling.bean.promotion.CoupExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CoupMapper {
    long countByExample(CoupExample example);

    int deleteByExample(CoupExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Coup record);

    int insertSelective(Coup record);

    List<Coup> selectByExample(CoupExample example);

    Coup selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Coup record, @Param("example") CoupExample example);

    int updateByExample(@Param("record") Coup record, @Param("example") CoupExample example);

    int updateByPrimaryKeySelective(Coup record);

    int updateByPrimaryKey(Coup record);
}